Skip to main content

All Questions

0votes
1answer
2kviews

PnP Powershell Connection with ClientId and ClientSecre return error "The app principal does not exist"

I'm trying to run my Powershell PnP script using ClientId and ClientSecret instead of UseWebLogin. I already created an Azure Application ID using this tutorial (but skipping the certificate part for ...
Dylan666's user avatar
0votes
0answers
213views

Add-PnPPageWebPart: Object reference not set to an instance of an object

I'm trying to add Quick Links to my SharePoint site using the PnP Module. However, when trying to run the command: Add-PnPPageWebPart -Page $page -DefaultWebPartType "QuickLinks" -Section 2 -...
Semper's user avatar
0votes
1answer
547views

How can I pass parameter to (Get-PnPUser | ? Email -eq ($SPUserEmail));

I have the following PnP PowerShell script: $conn = New-Object System.Data.SqlClient.SqlConnection("Data Source=$DBServer;Integrated Security=True;Initial Catalog=$DBName") ...
John John's user avatar
0votes
2answers
5kviews

Connect-PnPOnline : AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-

I have this script to connect to a SharePoint online site using username & password: $encpassword = convertto-securestring -String "********" -AsPlainText -Force $cred = new-object -...
John John's user avatar
1vote
1answer
142views

-ExemptFromBlockDownloadOfNonViewableFiles $true not running on SharePoint online

I am trying to set this value true on my entire tenant for the ClientSideAssets library. I would like to have -ExemptFromBlockDownloadOfNonViewableFiles set to true on entire tenant if possible if not ...
Newb's user avatar
2votes
3answers
6kviews

Connect-PnPOnline: Unsupported user type 'unknown'

I have installed SharePointPnPPowershell on my dev machine which is running SP 2016. I tried to connected to my local sharepoint site using: Connect-PnPOnline -Url $url -Credentials $cred But I am ...
Stefan Blatz's user avatar
0votes
2answers
413views

Does Set-PnPDefaultColumnValues support DateTime field in SharePoint Online document library

I am using Set-PnPDefaultColumnValues to set default values in document library in SharePoint Online and one of the column is DateTime. When I run this cmdlet for DateTime field I don't get any error ...
webdev's user avatar

close